package net.rock.mapper;

import net.rock.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    User fetchUserById(int id);
    User fetchUserByName(String name);
    void register(User user);

    void deleteUser(int id);
}
